﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title - Cottages Of Hope</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/bootstrap")
    @* @Styles.Render("~/Content/css")*@
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="brand" href="#">Cottages of Hope</a>
                <div class="nav-collapse collapse">
                    <ul class="nav">
                        <li class="active"><a href="@Url.Action("Index", "Home")">Home</a></li>
                        <li><a href="@Url.Action("About", "Home")">About</a></li>
                        <li><a href="@Url.Action("Register", "Account")">Register</a></li>
                    </ul>
                   @* <form class="navbar-form pull-right" method="post">*@
                        @using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new {@class = "navbar-form pull-right"}))
                        {
                            @Html.AntiForgeryToken()


                            <ul class="nav nav-pills">
                                <li class="disabled"><a>Signed in as: @User.Identity.Name</a></li>
                                <button type="submit" class="btn btn-primary pull-right" value="LogOff">Log Off</button>
                            </ul>
                        }
@*                    </form>*@
                </div>
                <!--/.nav-collapse -->
            </div>
        </div>
    </div>
    <div class="container">
        <div class="hero-unit wrapper">
            @RenderBody()
        </div>
        <hr>
        <footer>
            <p>&copy; Cottages Of Hope 2013</p>
        </footer>
    </div>


    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</body>
</html>
